package org.vnetcon.blobdb.client;

import com.google.gwt.user.client.rpc.AsyncCallback;

/**
 * The async counterpart of <code>GreetingService</code>.
 */
public interface BlobDBUIServiceAsync {
	void greetServer(String input, AsyncCallback<String> callback)
			throws IllegalArgumentException;
	void executeQuery(String name, AsyncCallback<String> callback);
	void getLoginUrl(String name, AsyncCallback<String> callback);
	void getLogoutUrl(String name, AsyncCallback<String> callback);
	void isAdmin(String name, AsyncCallback<String> callback);
	void addUser(String username, String password, AsyncCallback<String> callback);
}
